package com.luomu.base.control.config;

import com.luomu.base.api.service.ApiService;
import com.luomu.base.api.service.SysLoginService;
import com.luomu.base.api.service.UserChatService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BizConfig {

    @FeignClient(name="base-biz", contextId = "apiService", path="/apiService")
    public interface ApiServiceExt extends ApiService {}

    @FeignClient(name="base-biz", contextId = "userChatService", path="/userChatService")
    public interface UserChatServiceExt extends UserChatService {}

    @FeignClient(name="base-biz", contextId = "sysLoginService", path="/sysLoginService")
    public interface SysLoginServiceExt extends SysLoginService {}
}
